package com.chaoyi.service;

import java.util.List;

import com.chaoyi.model.ModelInfo;

public interface ModelInfoService {
	
	public List<ModelInfo> findList(String offset,String limit);

	public int checkModelInfoName(String modelInfoName, int modelId);
//
	public int saveModelInfoParent(ModelInfo modelInfo);
//
//	public int saveDictionaryChile(Dictionary dictionary);
//
	public List<ModelInfo> findChildrenList(int parentId);

	public ModelInfo findModel(int modelId);

	public int updateModelInfoParent(ModelInfo modelInfo);

	public List<ModelInfo> findAllModelInfo();
	
}
